package tr3dtris.game.persistence;

/**
 *
 * @author Luciano
 */
public class WindowOptions extends AbstractOptions
{
    private static final int WIDTH=800;
    private static final int HEIGHT=600;
    private static final int X=20;
    private static final int Y=20;

    private int width;
    private int height;
    private int x;
    private int y;

    public WindowOptions(){}

    @Override
    public void loadDefaults()
    {
        this.width = WIDTH;
        this.height = HEIGHT;
        this.x = X;
        this.y = Y;
    }

    /**
     * @return the width
     */
    public int getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(int width) {
        this.width = width;
    }

    /**
     * @return the heigth
     */
    public int getHeigth() {
        return height;
    }

    /**
     * @param heigth the heigth to set
     */
    public void setHeigth(int heigth) {
        this.height = heigth;
    }

    /**
     * @return the x
     */
    public int getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(int x) {
        this.x = x;
    }

    /**
     * @return the y
     */
    public int getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(int y) {
        this.y = y;
    }





}
